encoding/json.decodeState.off (field)
22 uses
encoding/json (current package)
decode.go#L212: off int // next read offset in data
decode.go#L223: return d.off - 1
decode.go#L233: d.off = 0
decode.go#L265: s, data, i := &d.scan, d.data, d.off
decode.go#L271: d.off = i
decode.go#L280: if d.off < len(d.data) {
decode.go#L281: d.opcode = d.scan.step(&d.scan, d.data[d.off])
decode.go#L282: d.off++
decode.go#L285: d.off = len(d.data) + 1 // mark processed EOF with len+1
decode.go#L292: s, data, i := &d.scan, d.data, d.off
decode.go#L298: d.off = i
decode.go#L303: d.off = len(data) + 1 // mark processed EOF with len+1
decode.go#L316: data, i := d.data, d.off
decode.go#L350: d.off = i + 1
decode.go#L506: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L509: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L527: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L612: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L615: d.saveError(&UnmarshalTypeError{Value: "object", Type: v.Type(), Offset: int64(d.off)})
decode.go#L645: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L657: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L849: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeOf(0.0), Offset: int64(d.off)}